3.287 \(\int \frac {(f+g x)^2}{(A+B \log (\frac {e (a+b x)^2}{(c+d x)^2}))^2} \, dx\)

Optimal. Leaf size=34 \[ \text {Int}\left (\frac {(f+g x)^2}{\left (B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )+A\right )^2},x\right ) \]

[Out]

Unintegrable((g*x+f)^2/(A+B*ln(e*(b*x+a)^2/(d*x+c)^2))^2,x)

________________________________________________________________________________________

Rubi [A]  time = 0.19, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \[ \int \frac {(f+g x)^2}{\left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )^2} \, dx \]

Verification is Not applicable to the result.

[In]

Int[(f + g*x)^2/(A + B*Log[(e*(a + b*x)^2)/(c + d*x)^2])^2,x]

[Out]

f^2*Defer[Int][(A + B*Log[(e*(a + b*x)^2)/(c + d*x)^2])^(-2), x] + 2*f*g*Defer[Int][x/(A + B*Log[(e*(a + b*x)^
2)/(c + d*x)^2])^2, x] + g^2*Defer[Int][x^2/(A + B*Log[(e*(a + b*x)^2)/(c + d*x)^2])^2, x]

Rubi steps

\begin {align*} \int \frac {(f+g x)^2}{\left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )^2} \, dx &=\int \left (\frac {f^2}{\left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )^2}+\frac {2 f g x}{\left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )^2}+\frac {g^2 x^2}{\left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )^2}\right ) \, dx\\ &=f^2 \int \frac {1}{\left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )^2} \, dx+(2 f g) \int \frac {x}{\left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )^2} \, dx+g^2 \int \frac {x^2}{\left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )^2} \, dx\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.72, size = 0, normalized size = 0.00 \[ \int \frac {(f+g x)^2}{\left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )^2} \, dx \]

Verification is Not applicable to the result.

[In]

Integrate[(f + g*x)^2/(A + B*Log[(e*(a + b*x)^2)/(c + d*x)^2])^2,x]

[Out]

Integrate[(f + g*x)^2/(A + B*Log[(e*(a + b*x)^2)/(c + d*x)^2])^2, x]

________________________________________________________________________________________

fricas [A]  time = 1.69, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {g^{2} x^{2} + 2 \, f g x + f^{2}}{B^{2} \log \left (\frac {b^{2} e x^{2} + 2 \, a b e x + a^{2} e}{d^{2} x^{2} + 2 \, c d x + c^{2}}\right )^{2} + 2 \, A B \log \left (\frac {b^{2} e x^{2} + 2 \, a b e x + a^{2} e}{d^{2} x^{2} + 2 \, c d x + c^{2}}\right ) + A^{2}}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g*x+f)^2/(A+B*log(e*(b*x+a)^2/(d*x+c)^2))^2,x, algorithm="fricas")

[Out]

integral((g^2*x^2 + 2*f*g*x + f^2)/(B^2*log((b^2*e*x^2 + 2*a*b*e*x + a^2*e)/(d^2*x^2 + 2*c*d*x + c^2))^2 + 2*A
*B*log((b^2*e*x^2 + 2*a*b*e*x + a^2*e)/(d^2*x^2 + 2*c*d*x + c^2)) + A^2), x)

________________________________________________________________________________________

giac [A]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (g x + f\right )}^{2}}{{\left (B \log \left (\frac {{\left (b x + a\right )}^{2} e}{{\left (d x + c\right )}^{2}}\right ) + A\right )}^{2}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g*x+f)^2/(A+B*log(e*(b*x+a)^2/(d*x+c)^2))^2,x, algorithm="giac")

[Out]

integrate((g*x + f)^2/(B*log((b*x + a)^2*e/(d*x + c)^2) + A)^2, x)

________________________________________________________________________________________

maple [A]  time = 0.78, size = 0, normalized size = 0.00 \[ \int \frac {\left (g x +f \right )^{2}}{\left (B \ln \left (\frac {\left (b x +a \right )^{2} e}{\left (d x +c \right )^{2}}\right )+A \right )^{2}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((g*x+f)^2/(B*ln((b*x+a)^2/(d*x+c)^2*e)+A)^2,x)

[Out]

int((g*x+f)^2/(B*ln((b*x+a)^2/(d*x+c)^2*e)+A)^2,x)

________________________________________________________________________________________

maxima [A]  time = 0.00, size = 0, normalized size = 0.00 \[ -\frac {b d g^{2} x^{4} + a c f^{2} + {\left (a d g^{2} + {\left (2 \, d f g + c g^{2}\right )} b\right )} x^{3} + {\left ({\left (2 \, d f g + c g^{2}\right )} a + {\left (d f^{2} + 2 \, c f g\right )} b\right )} x^{2} + {\left (b c f^{2} + {\left (d f^{2} + 2 \, c f g\right )} a\right )} x}{2 \, {\left (2 \, {\left (b c - a d\right )} B^{2} \log \left (b x + a\right ) - 2 \, {\left (b c - a d\right )} B^{2} \log \left (d x + c\right ) + {\left (b c - a d\right )} A B + {\left (b c \log \relax (e) - a d \log \relax (e)\right )} B^{2}\right )}} + \int \frac {4 \, b d g^{2} x^{3} + b c f^{2} + 3 \, {\left (a d g^{2} + {\left (2 \, d f g + c g^{2}\right )} b\right )} x^{2} + {\left (d f^{2} + 2 \, c f g\right )} a + 2 \, {\left ({\left (2 \, d f g + c g^{2}\right )} a + {\left (d f^{2} + 2 \, c f g\right )} b\right )} x}{2 \, {\left (2 \, {\left (b c - a d\right )} B^{2} \log \left (b x + a\right ) - 2 \, {\left (b c - a d\right )} B^{2} \log \left (d x + c\right ) + {\left (b c - a d\right )} A B + {\left (b c \log \relax (e) - a d \log \relax (e)\right )} B^{2}\right )}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g*x+f)^2/(A+B*log(e*(b*x+a)^2/(d*x+c)^2))^2,x, algorithm="maxima")

[Out]

-1/2*(b*d*g^2*x^4 + a*c*f^2 + (a*d*g^2 + (2*d*f*g + c*g^2)*b)*x^3 + ((2*d*f*g + c*g^2)*a + (d*f^2 + 2*c*f*g)*b
)*x^2 + (b*c*f^2 + (d*f^2 + 2*c*f*g)*a)*x)/(2*(b*c - a*d)*B^2*log(b*x + a) - 2*(b*c - a*d)*B^2*log(d*x + c) +
(b*c - a*d)*A*B + (b*c*log(e) - a*d*log(e))*B^2) + integrate(1/2*(4*b*d*g^2*x^3 + b*c*f^2 + 3*(a*d*g^2 + (2*d*
f*g + c*g^2)*b)*x^2 + (d*f^2 + 2*c*f*g)*a + 2*((2*d*f*g + c*g^2)*a + (d*f^2 + 2*c*f*g)*b)*x)/(2*(b*c - a*d)*B^
2*log(b*x + a) - 2*(b*c - a*d)*B^2*log(d*x + c) + (b*c - a*d)*A*B + (b*c*log(e) - a*d*log(e))*B^2), x)

________________________________________________________________________________________

mupad [A]  time = 0.00, size = -1, normalized size = -0.03 \[ \int \frac {{\left (f+g\,x\right )}^2}{{\left (A+B\,\ln \left (\frac {e\,{\left (a+b\,x\right )}^2}{{\left (c+d\,x\right )}^2}\right )\right )}^2} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((f + g*x)^2/(A + B*log((e*(a + b*x)^2)/(c + d*x)^2))^2,x)

[Out]

int((f + g*x)^2/(A + B*log((e*(a + b*x)^2)/(c + d*x)^2))^2, x)

________________________________________________________________________________________

sympy [A]  time = 0.00, size = 0, normalized size = 0.00 \[ \frac {a c f^{2} + 2 a c f g x + a c g^{2} x^{2} + a d f^{2} x + 2 a d f g x^{2} + a d g^{2} x^{3} + b c f^{2} x + 2 b c f g x^{2} + b c g^{2} x^{3} + b d f^{2} x^{2} + 2 b d f g x^{3} + b d g^{2} x^{4}}{2 A B a d - 2 A B b c + \left (2 B^{2} a d - 2 B^{2} b c\right ) \log {\left (\frac {e \left (a + b x\right )^{2}}{\left (c + d x\right )^{2}} \right )}} - \frac {\int \frac {a d f^{2}}{A + B \log {\left (\frac {a^{2} e}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {2 a b e x}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {b^{2} e x^{2}}{c^{2} + 2 c d x + d^{2} x^{2}} \right )}}\, dx + \int \frac {b c f^{2}}{A + B \log {\left (\frac {a^{2} e}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {2 a b e x}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {b^{2} e x^{2}}{c^{2} + 2 c d x + d^{2} x^{2}} \right )}}\, dx + \int \frac {2 a c f g}{A + B \log {\left (\frac {a^{2} e}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {2 a b e x}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {b^{2} e x^{2}}{c^{2} + 2 c d x + d^{2} x^{2}} \right )}}\, dx + \int \frac {2 a c g^{2} x}{A + B \log {\left (\frac {a^{2} e}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {2 a b e x}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {b^{2} e x^{2}}{c^{2} + 2 c d x + d^{2} x^{2}} \right )}}\, dx + \int \frac {3 a d g^{2} x^{2}}{A + B \log {\left (\frac {a^{2} e}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {2 a b e x}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {b^{2} e x^{2}}{c^{2} + 2 c d x + d^{2} x^{2}} \right )}}\, dx + \int \frac {3 b c g^{2} x^{2}}{A + B \log {\left (\frac {a^{2} e}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {2 a b e x}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {b^{2} e x^{2}}{c^{2} + 2 c d x + d^{2} x^{2}} \right )}}\, dx + \int \frac {2 b d f^{2} x}{A + B \log {\left (\frac {a^{2} e}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {2 a b e x}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {b^{2} e x^{2}}{c^{2} + 2 c d x + d^{2} x^{2}} \right )}}\, dx + \int \frac {4 b d g^{2} x^{3}}{A + B \log {\left (\frac {a^{2} e}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {2 a b e x}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {b^{2} e x^{2}}{c^{2} + 2 c d x + d^{2} x^{2}} \right )}}\, dx + \int \frac {4 a d f g x}{A + B \log {\left (\frac {a^{2} e}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {2 a b e x}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {b^{2} e x^{2}}{c^{2} + 2 c d x + d^{2} x^{2}} \right )}}\, dx + \int \frac {4 b c f g x}{A + B \log {\left (\frac {a^{2} e}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {2 a b e x}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {b^{2} e x^{2}}{c^{2} + 2 c d x + d^{2} x^{2}} \right )}}\, dx + \int \frac {6 b d f g x^{2}}{A + B \log {\left (\frac {a^{2} e}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {2 a b e x}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {b^{2} e x^{2}}{c^{2} + 2 c d x + d^{2} x^{2}} \right )}}\, dx}{2 B \left (a d - b c\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g*x+f)**2/(A+B*ln(e*(b*x+a)**2/(d*x+c)**2))**2,x)

[Out]

(a*c*f**2 + 2*a*c*f*g*x + a*c*g**2*x**2 + a*d*f**2*x + 2*a*d*f*g*x**2 + a*d*g**2*x**3 + b*c*f**2*x + 2*b*c*f*g
*x**2 + b*c*g**2*x**3 + b*d*f**2*x**2 + 2*b*d*f*g*x**3 + b*d*g**2*x**4)/(2*A*B*a*d - 2*A*B*b*c + (2*B**2*a*d -
 2*B**2*b*c)*log(e*(a + b*x)**2/(c + d*x)**2)) - (Integral(a*d*f**2/(A + B*log(a**2*e/(c**2 + 2*c*d*x + d**2*x
**2) + 2*a*b*e*x/(c**2 + 2*c*d*x + d**2*x**2) + b**2*e*x**2/(c**2 + 2*c*d*x + d**2*x**2))), x) + Integral(b*c*
f**2/(A + B*log(a**2*e/(c**2 + 2*c*d*x + d**2*x**2) + 2*a*b*e*x/(c**2 + 2*c*d*x + d**2*x**2) + b**2*e*x**2/(c*
*2 + 2*c*d*x + d**2*x**2))), x) + Integral(2*a*c*f*g/(A + B*log(a**2*e/(c**2 + 2*c*d*x + d**2*x**2) + 2*a*b*e*
x/(c**2 + 2*c*d*x + d**2*x**2) + b**2*e*x**2/(c**2 + 2*c*d*x + d**2*x**2))), x) + Integral(2*a*c*g**2*x/(A + B
*log(a**2*e/(c**2 + 2*c*d*x + d**2*x**2) + 2*a*b*e*x/(c**2 + 2*c*d*x + d**2*x**2) + b**2*e*x**2/(c**2 + 2*c*d*
x + d**2*x**2))), x) + Integral(3*a*d*g**2*x**2/(A + B*log(a**2*e/(c**2 + 2*c*d*x + d**2*x**2) + 2*a*b*e*x/(c*
*2 + 2*c*d*x + d**2*x**2) + b**2*e*x**2/(c**2 + 2*c*d*x + d**2*x**2))), x) + Integral(3*b*c*g**2*x**2/(A + B*l
og(a**2*e/(c**2 + 2*c*d*x + d**2*x**2) + 2*a*b*e*x/(c**2 + 2*c*d*x + d**2*x**2) + b**2*e*x**2/(c**2 + 2*c*d*x
+ d**2*x**2))), x) + Integral(2*b*d*f**2*x/(A + B*log(a**2*e/(c**2 + 2*c*d*x + d**2*x**2) + 2*a*b*e*x/(c**2 +
2*c*d*x + d**2*x**2) + b**2*e*x**2/(c**2 + 2*c*d*x + d**2*x**2))), x) + Integral(4*b*d*g**2*x**3/(A + B*log(a*
*2*e/(c**2 + 2*c*d*x + d**2*x**2) + 2*a*b*e*x/(c**2 + 2*c*d*x + d**2*x**2) + b**2*e*x**2/(c**2 + 2*c*d*x + d**
2*x**2))), x) + Integral(4*a*d*f*g*x/(A + B*log(a**2*e/(c**2 + 2*c*d*x + d**2*x**2) + 2*a*b*e*x/(c**2 + 2*c*d*
x + d**2*x**2) + b**2*e*x**2/(c**2 + 2*c*d*x + d**2*x**2))), x) + Integral(4*b*c*f*g*x/(A + B*log(a**2*e/(c**2
 + 2*c*d*x + d**2*x**2) + 2*a*b*e*x/(c**2 + 2*c*d*x + d**2*x**2) + b**2*e*x**2/(c**2 + 2*c*d*x + d**2*x**2))),
 x) + Integral(6*b*d*f*g*x**2/(A + B*log(a**2*e/(c**2 + 2*c*d*x + d**2*x**2) + 2*a*b*e*x/(c**2 + 2*c*d*x + d**
2*x**2) + b**2*e*x**2/(c**2 + 2*c*d*x + d**2*x**2))), x))/(2*B*(a*d - b*c))

________________________________________________________________________________________